package com.grapecc.cloudalibaba.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.grapecc.springcloud.entities.CommonResult;
import com.grapecc.springcloud.entities.Payment;

/**
 * @author 卖糖的兜兜
 * @version 1.0.0
 * @ClassName CustomerBlockHandler.java
 * @Description TODO
 * @createTime 2022年03月31日 11:04:00
 */
public class CustomerBlockHandler {
    public static CommonResult handlerException(BlockException exception){
        return new CommonResult(4444,"按客户定义 handlerException-----1");
    }

    public static CommonResult handlerException2(BlockException exception){
        return new CommonResult(4444,"按客户定义 handlerException-----2");
    }
}
